package com.linchong.xshop.service.impl;

import com.linchong.xshop.dao.ShopCategoryDao;
import com.linchong.xshop.entity.ShopCategory;
import com.linchong.xshop.service.ShopCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author linchong
 * @desc 店铺种类的相关操作
 * @email littlexbear@163.com
 * @create 2018-07-15 17:56
 * @CopyRight(C) https://blog.csdn.net/littlexbear
 **/
@Service
public class ShopCategoryServiceImpl implements ShopCategoryService {

    @Autowired
    private ShopCategoryDao shopCategoryDao;
//getShopCategoryList
    @Override
    public List<ShopCategory> getShopCategoryList(ShopCategory shopCategoryCondition) {
        return shopCategoryDao.queryShopCategory(shopCategoryCondition);
    }
}
